package cn.aitrox.ry.service.auth.dto.user.role.in;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class AuthUserRoleUpdateInDto {

    @NotNull(message = "用户编号不能为空")
    private Integer userId;

    private List<Integer> roleIds;

}
